[INFO] cloning repository https://github.com/MolotovCherry/async-instrumenter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MolotovCherry/async-instrumenter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b7fe4926bc18d616f2b3e3ad6b6eea245e3f2e2
[INFO] testing MolotovCherry/async-instrumenter against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMolotovCherry%2Fasync-instrumenter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MolotovCherry/async-instrumenter
[INFO] finished tweaking git repo https://github.com/MolotovCherry/async-instrumenter
[INFO] tweaked toml for git repo https://github.com/MolotovCherry/async-instrumenter written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MolotovCherry/async-instrumenter on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MolotovCherry/async-instrumenter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e7c7cd81cee8b62fd5099f9a0b02a26549a6b85a8cddca9d394788f4b4b5af3f
[INFO] running `Command { std: "docker" "start" "-a" "e7c7cd81cee8b62fd5099f9a0b02a26549a6b85a8cddca9d394788f4b4b5af3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7c7cd81cee8b62fd5099f9a0b02a26549a6b85a8cddca9d394788f4b4b5af3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7c7cd81cee8b62fd5099f9a0b02a26549a6b85a8cddca9d394788f4b4b5af3f", kill_on_drop: false }`
[INFO] [stdout] e7c7cd81cee8b62fd5099f9a0b02a26549a6b85a8cddca9d394788f4b4b5af3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c46ea4818097bdcf6fd0e4430e0f6a7887fc1fcd091cba9cd4f2fb4413ee65b
[INFO] running `Command { std: "docker" "start" "-a" "9c46ea4818097bdcf6fd0e4430e0f6a7887fc1fcd091cba9cd4f2fb4413ee65b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.87s
[INFO] running `Command { std: "docker" "inspect" "9c46ea4818097bdcf6fd0e4430e0f6a7887fc1fcd091cba9cd4f2fb4413ee65b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c46ea4818097bdcf6fd0e4430e0f6a7887fc1fcd091cba9cd4f2fb4413ee65b", kill_on_drop: false }`
[INFO] [stdout] 9c46ea4818097bdcf6fd0e4430e0f6a7887fc1fcd091cba9cd4f2fb4413ee65b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2f9a91a0f63e7dd17b2e2ef8e55c4df572e3694d753469dbc7ff7c6dfcbdd77
[INFO] running `Command { std: "docker" "start" "-a" "a2f9a91a0f63e7dd17b2e2ef8e55c4df572e3694d753469dbc7ff7c6dfcbdd77", kill_on_drop: false }`
[INFO] [stderr]    Compiling async-instrumenter v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "a2f9a91a0f63e7dd17b2e2ef8e55c4df572e3694d753469dbc7ff7c6dfcbdd77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2f9a91a0f63e7dd17b2e2ef8e55c4df572e3694d753469dbc7ff7c6dfcbdd77", kill_on_drop: false }`
[INFO] [stdout] a2f9a91a0f63e7dd17b2e2ef8e55c4df572e3694d753469dbc7ff7c6dfcbdd77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 75d193a450b491f3c83123f5a8e942d730b6a0a1f84e2528fe9a96809d29ab44
[INFO] running `Command { std: "docker" "start" "-a" "75d193a450b491f3c83123f5a8e942d730b6a0a1f84e2528fe9a96809d29ab44", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_instrumenter-11c5c79eac2c37d7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests async_instrumenter
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - instrument (line 125) ... FAILED
[INFO] [stdout] test src/lib.rs - dbg_instrument (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - InstrumentFuture (line 21) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - instrument (line 125) stdout ----
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]    --> src/lib.rs:127:1
[INFO] [stdout]     |
[INFO] [stdout] 127 | instrument!(my_fut).await;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use async_instrumenter::instrument;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `instrument` in this scope
[INFO] [stdout]    --> src/lib.rs:130:1
[INFO] [stdout]     |
[INFO] [stdout] 130 | instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]     |
[INFO] [stdout] 125 + use async_instrumenter::instrument;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]    --> src/lib.rs:126:18
[INFO] [stdout]     |
[INFO] [stdout] 126 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]     |                  ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout] 125 + use std::future::Future;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]    --> src/lib.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]     = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]     = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2026-05-28; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:127:21
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_125_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 126 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 127 | instrument!(my_fut).await;
[INFO] [stdout]     |                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:130:60
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_125_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 130 | instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]     |                                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]    --> src/lib.rs:126:40
[INFO] [stdout]     |
[INFO] [stdout] 126 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - dbg_instrument (line 81) stdout ----
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]   --> src/lib.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | dbg_instrument!(my_fut).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 81 + use async_instrumenter::dbg_instrument;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `dbg_instrument` in this scope
[INFO] [stdout]   --> src/lib.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | dbg_instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 81 + use async_instrumenter::dbg_instrument;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> src/lib.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 81 + use std::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]   --> src/lib.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]    = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]    = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-05-28; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_81_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 82 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 83 | dbg_instrument!(my_fut).await;
[INFO] [stdout]    |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:86:64
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_81_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 86 | dbg_instrument!("custom_log_message {f}: {elapsed:?}", my_fut).await;
[INFO] [stdout]    |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]   --> src/lib.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - InstrumentFuture (line 21) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> src/lib.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 21 + use std::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `InstrumentFuture` in this scope
[INFO] [stdout]   --> src/lib.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | let res = InstrumentFuture::new(my_fut).await;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^ use of undeclared type `InstrumentFuture`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 21 + use async_instrumenter::InstrumentFuture;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0562]: `impl Trait` is not allowed in the type of variable bindings
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `impl Trait` is only allowed in arguments and return types of functions and methods
[INFO] [stdout]    = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
[INFO] [stdout]    = help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-05-28; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:23:41
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout] 23 | let res = InstrumentFuture::new(my_fut).await;
[INFO] [stdout]    |                                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `foobar` in this scope
[INFO] [stdout]   --> src/lib.rs:22:40
[INFO] [stdout]    |
[INFO] [stdout] 22 | let my_fut: impl Future<Output = ()> = foobar();
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433, E0562, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - InstrumentFuture (line 21)
[INFO] [stdout]     src/lib.rs - dbg_instrument (line 81)
[INFO] [stdout]     src/lib.rs - instrument (line 125)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "75d193a450b491f3c83123f5a8e942d730b6a0a1f84e2528fe9a96809d29ab44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75d193a450b491f3c83123f5a8e942d730b6a0a1f84e2528fe9a96809d29ab44", kill_on_drop: false }`
[INFO] [stdout] 75d193a450b491f3c83123f5a8e942d730b6a0a1f84e2528fe9a96809d29ab44
